//
//  TwentyEightViewController.m
//  项目二
//
//  Created by rimi on 16/5/17.
//  Copyright © 2016年 objective. All rights reserved.
//

#import "TwentyEightViewController.h"
#import "UIImage+BQCode.h"
@interface TwentyEightViewController ()
@property (nonatomic,strong)UIImageView *imageView;
@end

@implementation TwentyEightViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    self.view.backgroundColor = [UIColor whiteColor];
    self.title = @"二维码生成";
    [self initUIInterface];
    
}
-(void)initUIInterface{
    _imageView = [[UIImageView alloc]initWithFrame:CGRectMake(70, 100, 300, 300)];
    _imageView.backgroundColor = [UIColor redColor];
    [self.view addSubview:_imageView];
    
    self.imageView.image = [UIImage createCodeImageWithContent:@"xxxxx" size:200 red:100 green:200 blue:100];
}


@end
